//
//  NSUserDefaults+UserInfo.h
//  newBooks
//
//  Created by 张 on 2018/11/21.
//  Copyright © 2018年 pro2. All rights reserved.
//
#import "RootViewController.h"
@interface NSUserDefaults (UserInfo)

#pragma mark - function
//是否自动登录
- (void)setAutoLogin:(BOOL)autoLogin;
- (BOOL)getAutoLogin;

//ID
- (void)setUserID:(NSString *)userID;
- (NSString *)getUserID;

//用户头像
- (void)setUserImage:(NSString *)userImage;
- (NSString *)getUserImage;

//用户账户-手机号
- (void)setUserMobile:(NSString *)mobile;
- (NSString *)getUserMobile;

//用户简介
- (void)setUserIntroduce:(NSString *)introduce;
- (NSString *)getIntroduce;

//用户姓名-昵称
- (void)setUserRealName:(NSString *)userName;
- (NSString *)getUserRealName;

//accessToken
- (void)setAccessToken:(NSString *)accessToken;
- (NSString *)getAccessToken;


@end

